package pe.com.casadesign.domain;

import java.util.ArrayList;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("ListaNivelColor")
public class ListaNivelColor {
	private List<NivelColor> lista;
	
	public ListaNivelColor(){
		lista = new ArrayList<NivelColor>();
	}
	
	public void add(NivelColor nivelColor){
		lista.add(nivelColor);
	}
	
	public void remove(NivelColor nivelColor){
		lista.remove(nivelColor);
	}
	
	public int size(){
		return lista.size();
	}

	public List<NivelColor> getLista() {
		return lista;
	}

	public void setLista(List<NivelColor> lista) {
		this.lista = lista;
	}
}
